package com.rz.htk.dubbo.service;

import consumer.DictService;
import consumer.model.SysDictData;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

@Service
public class DictDataService {

    @Reference(version = "1.0.0", url = "dubbo://127.0.0.1:12345")
    private DictService dictService;

    public SysDictData getByCode(String code){
        return dictService.getByCode(code);
    }


}
